import jdbc.JdbcMenuAdapter;
import schedule.AppointmentList;
import file.AppointmentFileConnectionImpl;
import file.FileMenuAdapter;
import gui2.MainWindow;


public class Start {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		AppointmentList list = new AppointmentList();
		MainWindow frame = new MainWindow(list);
		AppointmentFileConnectionImpl connection = new AppointmentFileConnectionImpl(list, frame);
		new FileMenuAdapter(frame, connection);
		new JdbcMenuAdapter(frame);
		frame.setVisible(true);
	}

}
